﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>


<asp:Content ID="indexFeatured" ContentPlaceHolderID="FeaturedContent" runat="server">
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1>BIAS NO.</h1>
                <h1><%: ViewBag.Message %></h1>
            </hgroup>           
        </div>
    </section>
</asp:Content>
<%--
<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
   <ul id="menu1" class="menu1" style="vertical-align:bottom;">  
      <li class="aa" id="unlock"><a href="#">UNLock</a></li>
      <li class="aa" id="lock"><a href="#">All Lock</a></li>      
      <li id="edit" style="padding-left:78%"><a href="#">Edit</a></li>       
   </ul>

    <table width="100%" class=" shadow "  id="dataTbl">
     <thead>
         <tr class="head"  id="trRow">
            <td class="cell "  style="width: 50px;">
               STATUS               
            </td>
            <td class="cell" style="width: 100px;">
               SEQ
            </td>
            <td class="cell" style="width: 150px;">
               TOPPED CORD
            </td>
            <td class="cell" style="width: 150px;">
               SIZE
            </td>
            <td class="cell" style="width: 50px;">
               P1
            </td>  
            <td class="cell" style="width: 50px;">
               P2
            </td>  
               <td class="cell" style="width: 50px;">
               P3
            </td>  
               <td class="cell" style="width: 50px;">
               P4
            </td>  
            <td class="cell" style="width: 120px;">
               FORMING
            </td>
             <td class="cell" style="width: 120px;">
               TEXT
            </td>
         </tr>
         
      </thead>     

       <tbody>
         <%
            int i = 0;
            
            foreach (var item in Model)
            {
               i = i + 1;
               string trrow = "rowa";
               if (i % 2 == 0) trrow = "rowb";
               string seq = item._Plandt +'-'+item._Itemno;
              
            
         %>
         <tr class='<%= trrow %>'  style="line-height:25px;">
          
            <td  style="width: 50px; text-align:center;">
               <%: Html.DisplayFor(modelItem => item._Plants) %>
            </td>
            <td style="width: 120px; text-align:center;">
               <%= seq %>
            </td>
            <td style="width: 250px; text-align:center;">
               <%: Html.DisplayFor(modelItem => item._Topcrdcd) %>
            </td>
            <td style="width: 150px;">
               <%: Html.DisplayFor(modelItem => item._Size) %>
            </td>
            <td style="width: 50px; text-align:center;">
               <%: Html.DisplayFor(modelItem => item._P1) %>
            </td>                       
            <td style="width: 50px; text-align:center;">
               <%: Html.DisplayFor(modelItem => item._P2) %>
            </td>                       
            <td style="width: 50px; text-align:center;">
               <%: Html.DisplayFor(modelItem => item._P3) %>
            </td>                       
            <td style="width: 50px; text-align:center;">
               <%: Html.DisplayFor(modelItem => item._P4) %>
            </td>                       
            <td style="width: 120px; text-align:center;">
               <%: Html.DisplayFor(modelItem => item._Forming) %>
            </td>                       
            <td style="width: 120px; text-align:center;">
               <%: Html.DisplayFor(modelItem => item._Text) %>
            </td>                       
           
           
         </tr>
         <% } %>
      </tbody>
      
   </table>
   
</asp:Content>


<asp:Content ID="idJQuery" ContentPlaceHolderID="ScriptsSection" runat="server">
      <style type="text/css">
      .chk:hover
      {
         cursor: pointer;
       
      }
      .actived
      {
        color:#ff0000;      /*red*/               
      }      
    
      .txt
      {
          background-color:#f8f8e8 !important;
          border-right: #000 1px solid  !important;
      }
      .hide
      { display:none;
         }

   </style>
   <% if (false) { %>
   <script src="../../Scripts/jquery-1.7.1.js" type="text/javascript"></script>
   <% } %>

      <script type="text/javascript">
         $(function () {
      
      });
      </script>

 </asp:Content>
--%>
